package com.blue.utils;

import javafx.scene.layout.BorderPane;

import java.util.List;
import java.util.Map;


public class GlobalConfInfo {

	
	private static Configuration conf = null;
	//private static AbstractApplicationContext context = null;
	private static Map<String,String> projectMap = null;
	private static List<String> projectList = null;
	private static BorderPane layout;
	//private static ThreadPoolExecutorQuartz threadPoolExecutorQuartz=null;

	private static String workDir;
	

	/*public static AbstractApplicationContext getContext() {
		return context;
	}

	public static void setContext(AbstractApplicationContext context) {
		GlobalConfInfo.context = context;
	}*/

	public static Configuration getConf() {
		return conf;
	}

	public static void setConf(Configuration conf) {
		GlobalConfInfo.conf = conf;
	}

	/*public static ThreadPoolExecutorQuartz getThreadPoolExecutorQuartz() {
		return threadPoolExecutorQuartz;
	}*/
	

	/*public static void setThreadPoolExecutorQuartz(
			ThreadPoolExecutorQuartz threadPoolExecutorQuartz) {
		GlobalConfInfo.threadPoolExecutorQuartz = threadPoolExecutorQuartz;
	}*/

	public static BorderPane getLayout() {
		return layout;
	}

	public static void setLayout(BorderPane layout) {
		GlobalConfInfo.layout = layout;
	}

	public static String getWorkDir() {
		return workDir;
	}

	public static void setWorkDir(String workDir) {
		GlobalConfInfo.workDir = workDir;
	}

	public static Map<String, String> getProjectMap() {
		return projectMap;
	}

	public static void setProjectMap(Map<String, String> projectMap) {
		GlobalConfInfo.projectMap = projectMap;
	}

	public static List<String> getProjectList() {
		return projectList;
	}

	public static void setProjectList(List<String> projectList) {
		GlobalConfInfo.projectList = projectList;
	}
	
}
